<html>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="CSS/Index.css" rel="stylesheet" type="text/css"/>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Trần Quang Kha</title>
    </head>
    <body>
        
         <?php require_once './model/db.php';
          require_once './model/works.php';
          
          $Work = new Works();
          $list= $Work->selects(NULL,1);
          
          ?>
        <div id="content">
            <div id="banner"><img src="Public/images/Banner.gif" height=""></div>
            
            <div id="menu">
                
                <div id="home">
                    
                    <div class="flip">
                        <div class="flipper">
                            <div class="flip_per">
                                <div class="front">
                                    <ul><li><a href="#">HOME</a></li></ul>
                                </div>
                                <div class="back">
                                    <ul><li><a href="Index.php">HOME</a></li></ul>
                                </div>
                            </div>
                        </div>
                    </div>  
                    
                </div>
                
                <div id="about">
                    
                    <div id="pro">
                        <a href="#">PRODUCT</a>
                    </div>
                    
                </div>
                <div id="product">
                    
                    <div class="flip">
                        <div class="flipper">
                            <div class="flip_per">
                                <div class="front">
                                    <ul><li><a href="#">ABOUT</a></li></ul>
                                </div>
                                <div class="back">
                                    <ul><li><a href="about.php">ABOUT</a></li></ul>
                                </div>
                            </div>
                        </div>
                    </div>    
                    
                </div>
                <div id="mailme">
                    
                    <div class="flip">
                        <div class="flipper">
                            <div class="flip_per">
                                <div class="front">
                                    <ul><li><a href="#">MAIL ME</a></li></ul>
                                </div>
                                <div class="back">
                                    <ul><li><a href="mailme.php">MAIL ME</a></li></ul>
                                </div>
                            </div>
                        </div>
                    </div>    
                    
                </div>
            </div>
            <div id="noidung">
                <div id="spham">
                    <?php foreach ($list as $lists):?>
                    <div class="hinh">
                        <a href="#"><img src="<?php echo $lists['images'];?>" height="178" width="175"></a><br>
                        <id class="masp"><?php echo $lists['masp'] ?></id><br>
                        <id class="giasp"><?php echo $lists['giasp']?></id>
                      
                    </div>
                    <?php endforeach; ?>  
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>

